@layout("/common/_container.html"){
<div class="ibox float-e-margins">
    <div class="ibox-content">
        <div class="form-horizontal">
            <input id="id" name="" type = "hidden" value="${item.id}"/>
            <div class="row">
                <div class="col-sm-6 b-r">
                            <#input id="buyId" name="报买单号" value="${item.buyId}" underline="true"/>
                            <#input id="buyName" name="报买名称" value="${item.buyName}" underline="true"/>
                            <#input id="buyDate" name="报买日期" value="${item.buyDate}" type="text" underline="true"/>
                            <#input id="buyNumber" name="报买数量" value="${item.buyNumber}" />
                </div>

                <div class="col-sm-6">
                            <#input id="buySpec" name="报买规格" value="${item.buySpec}" underline="true"/>
                            <#input id="buyLittle" name="批量购买" value="${item.buyLittle}" underline="true"/>
                            <#input id="buyPic" name="负责人" value="${item.buyPic}" underline="true"/>
                            <#input id="buyPicTel" name="负责人电话" value="${item.buyPicTel}" />
                </div>
            </div>

            <div class="row btn-group-m-t">
                <div class="col-sm-10">
                    <#button btnCss="info" name="提交" id="ensure" icon="fa-check" clickFun="BuyInfoDlg.editSubmit()"/>
                    <#button btnCss="danger" name="取消" id="cancel" icon="fa-eraser" clickFun="BuyInfoDlg.close()"/>
                </div>
            </div>
        </div>

    </div>
</div>
<script src="${ctxPath}/static/modular/caigou/buy/buy_info.js"></script>
<script>
    laydate.render({
        elem: '#buyDate'
        ,type: 'datetime'
    });
</script>
@}
